package com.zlq.cn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * AI作画
 * </p>
 *
 * @author zhoucl
 * @since 2022-11-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("aizh_picture")
@ApiModel(value="AizhPicture对象", description="AI作画")
public class AizhPicture implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "作画id")
    @TableId(value = "task_id", type = IdType.INPUT)
    private String taskId;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "生成结果数组")
    private String img;

    @ApiModelProperty(value = "请求内容中的图片风格")
    private String style;

    @ApiModelProperty(value = "请求内容中的文本")
    private String text;

    @ApiModelProperty(value = "图片宽度")
    private BigDecimal widht;

    @ApiModelProperty(value = "图片高度")
    private BigDecimal height;
}
